-- GENERATED SPELL FOR [Saltwater Crocolisk] --


function spell0_1151(pUnit, Event) --@Tendon Rip,n/a--
pUnit:FullCastSpellOnTarget(3604,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1151', 8000, 1)
end

function Sorts_1151(pUnit, Event)
local choix_sorts_1151 = math.random(0, 0)
if choix_sorts_1151 == 0 then
pUnit:RegisterEvent('spell0_1151', 1, 1)
end
end

function mob1151_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1151', math.random(1500, 3000), 1)
end

function mob1151_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1151_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1151_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1151, 1, 'mob1151_Action')
RegisterUnitEvent(1151, 2, 'mob1151_Leave')
RegisterUnitEvent(1151, 3, 'mob1151_Kill')
RegisterUnitEvent(1151, 4, 'mob1151_Die')
